package com.example.pattern.command;

/**
 * 接收者类 - 灯
 *
 * @author FM_南风
 * @date 2024/7/5
 */
public class Light {
    public void turnOn() {
        System.out.println("灯已打开");
    }

    public void turnOff() {
        System.out.println("灯已关闭");
    }
}
